const oss_domain=import.meta.env.VITE_APP_OSS_DOMAIN;
const images:string[] = []
export const getImageList = () => {
  for (let i = 1; i < 21; i++) {
    images.push(`${oss_domain}/avatar/avatar_${i}.jpg`);
  }
};
export const getImage = () => {
  getImageList();
  return images[Math.floor(Math.random() * images.length)];
};